package com.bytecub.common.domain.dto.request.product;

import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * ByteCub.cn. Copyright (c) 2020-2020 All Rights Reserved.
 *
 * @author bytecub@163.com songbin
 * @version Id: ProductDetailResDto.java, v 0.1 2020-12-16 Exp $$
 */
@Data
public class ProductUpdateReqDto {
    private Long id;

    @NotNull(message = "产品编码不能为空")
    private String productCode;

    @NotNull(message = "产品名不能为空")
    private String productName;

    @NotNull(message = "下行网络协议不能为空")
    private String transportList;

    @NotNull(message = "数据协议不能为空")
    private String protocolCode;

    @NotNull(message = "节点类型不能为空")
    private String nodeType;

    private String nodeName;
    private String productDesc;
    private Integer productStatus;

    /** 协议开始字段 */
    private String protocolName;

    private Integer protocolType;
}
